<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }
    li{
        list-style: none;
    }
    .main{
        position: relative;
        height: 315px;
        width: 564px;
        margin: 10px auto;
    }
    .main:hover::before{
        display: block;
    }
    .main img{
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
    .main span{
        width: 20px;
        height: 30px;
        position: absolute;
        top: 50%;
        margin-top: -15px;
        line-height: 30px;
        color: white;
        background-color: rgba(0, 0, 0,.3);
        text-align: center;
    }
    .main::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: rgba(0,0,0,.5);
        border-radius: 10px;
        display:none;
    }
    .le{
        left: 0;
        border-radius: 0 15px 15px 0;
    }
    .ri{
        right: 0;
        border-radius: 15px 0 0 15px ;
    }
    .main ul{
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 8px;
        position: absolute;
        bottom: 15px;
        left: 50%;
        margin-left: -40px;
    }
    .main li{
        float: left;
        width: 8px;
        height: 8px;
        background-color: white;
        border-radius: 50%;
        margin: 4px;
    }
</style>
<body>
    <div class="main">
        <img src="tb.png" alt="">
        <span class="le">&lt</span>
        <span class="ri">&gt</span>
        <ul>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</body>
</html>